package traveldream.ejb.DTO;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

public class UserDTO {

	@Length(max=31,message = "You have exceded max number of car")
	@NotEmpty
	private String iduser;

	@NotEmpty
	private String password;

	public void setIduser(String iduser){
		this.iduser = iduser;
	}
	
	public String getIduser(){
		return iduser;
	}
	
	public void setPassword(String password){
		this.password = password;
	}
	
	public String getPassword(){
		return password;
	}

}
